package com.tjetc.domian;

import java.io.Serial;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Communityevent implements java.io.Serializable{
    @Serial
    private static final long serialVersionUID = 5339305030439212056L;
    private Integer eventid;

    private String eventname;

    private Date eventdate;

    private Date eventtime;

    private String location;

    private String description;

    public Communityevent(String eventname, Date date, Date date1, String location, String description) {
        this.eventname = eventname;
        this.eventdate = date;
        this.eventtime = date1;
        this.location = location;
        this.description = description;
    }
}